// 获取剪贴板内容
navigator.clipboard.readText().then((text) => {
  console.log(text)
}, (error) => { console.log(error) });